package simple.persistence.dao;

import simple.persistence.entity.User;

import javax.ejb.Local;
import javax.persistence.EntityManager;

import java.util.List;

@Local
public interface UserDAOInterface {

    public List<User> getUsers();

    public User saveUser(User user);

    public void setEm(EntityManager em);

    public List<User> findUsersBySearchTerm(String term);
}
